package com.hbnu.entity;

public class SystemWordBook {
    private int id;
    private String name;
    private String description;
    private int wordCount;

    public SystemWordBook() {}
    public SystemWordBook(int id, String name, String description, int wordCount) {
        this.id = id;
        this.name = name;
        this.description = description;
        this.wordCount = wordCount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getWordCount() {
        return wordCount;
    }

    public void setWordCount(int wordCount) {
        this.wordCount = wordCount;
    }

    @Override
    public String toString() {
        return "词书ID: " + id + "\n名称: " + name + "\n描述: " + description + "\n单词数: " + wordCount;
    }
}